/*
 * @Description: 
 * @Version: @1.0.0
 * @Autor: LuLu
 * @Date: 2023-06-30 18:16:00
 * @LastEditors: LuLu
 * @LastEditTime: 2025-02-25 17:53:06
 */
import request from '@/utils/request'
// 课程管理

// 获取所有
export function getList(data) {
    return request({
      url: '/withdraw/list',
      method: 'get',
      params:data
    })
  }
  
  // 打款
  export function payMent(data) {
      return request({
        url: '/withdraw/payment/',
        method: 'put',
        data
      })
    }
// 审批
export function getExamine(data) {
    return request({
        url: '/withdraw/examine',
        method: 'put',
        data
    })
}
// 详情
export function getDsc(id) {
    return request({
        url: `/withdraw/${id}`,
        method: 'get',
    })
}

// 订单管理

// 获取所有
export function getOrderList(data) {
  return request({
    url: '/order/list',
    method: 'get',
    params:data
  })
}
// 详情
export function getOrderDsc(id) {
  return request({
      url: `/order/${id}`,
      method: 'get',
  })
}


// 测试记录管理
// 获取所有
export function getResultList(data) {
  return request({
    url: '/exam/exam/log',
    method: 'get',
    params:data
  })
}
 // 删除
 export function getResultDet(id) {
  return request({
      url: `/exam/exam/del/${id}`,
      method: 'delete',
  })
}
// 获取所有代理商
export function getAgentList(data) {
  return request({
    url: '/psy/wx/agent/list',
    method: 'get',
    params:data
  })
}

// 导出
// responseType: "blob",
export function getExport(data) {
  return request({
      url: '/exam/export',
      method: 'get',
      params:data
  })
}
// 
